#shell programming
Explore tagged Tumblr posts
fatehbaz · 2 months ago
Text
weekly navel-gazing update: this week is most consequential event in long time. keyword search: "scared" "is it ok to be scared" "beaten and tortured by the ogre"
Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media
#old director of south asian studies just talked to me to let me know theyll be joining me to sit on my panel while i present two projects#in two days and intimated they could discuss supervising potential grad work or dissertations despite funding freezes#she is respected used to do the gender studies program coordinating too#and their TA PhD student super severe standoffish goth walked up to me in front of seminar to thank me for my portfolio of essays#on poverty homelessness and environmental stuff and said it was TOUCHING and i should be proud and shell also be attending#after the director of student research invited them#and research director happens to specialize in borderlands and caribbean and empire and she emailed me to say#she left me a signed copy of her book with a really lovely message#and a protein bar because she knows i have diabetes and other illnesses but bike like ten miles a day between work and school#and then she emailed me and offered car ride if i wanted#and i was touched and surprised and now im like uh oh this is important i guess#and like uh oh i really shouldve taken the week off work or something why am i working forty hours for this#well precarious rent i guess but still wish i hadnt spent past four months just going to retail job and had instead hung out more with#faculty and hope i didnt waste my chance to get to know them#also is im just going to wear that outfit to conference hope not perceived as too informal#no family whatsoever so there was no one like interested or checking in on me to like help me see that the developments were significant#a year ago i was nothing but nightshift retail with NO prospects and rapidly worsening health#and there wasnt even a glimmer of hope for possibility of positive social environment let alone school
207 notes · View notes
deadclockghost · 2 months ago
Text
Tumblr media
Mermay Day 1 - Seashells
95 notes · View notes
battlevann · 3 months ago
Text
After playing through chapter 1 of dream bbq I've begun to think that the mannequins we see throughout the game are the mass produced bases of ENA's that either never received their ENA shell or somehow lost it, leading to them no longer recognizing their identity or purpose as an ENA, which is why they are either dead or walking aimlessly
62 notes · View notes
sainteclectic · 5 months ago
Text
on a semi-related note. every day metal sonic fans fight for their LIVES trying to get sega to explore the existential horror that is being metal sonic
43 notes · View notes
vinnigami · 1 year ago
Note
doodle your favorite demon :0
Tumblr media
I have too many ‘favorite demons’ to choose (Amanozako, Norn, Fionn mac Cumhaill, Kushinada-Hime, Bai Suzhen, and way too many more..) but i’ve been on an smt angels kick as of late. So I just drew Virtue
61 notes · View notes
12neonlit-stage · 7 months ago
Text
I go by no pronouns but not as in my name, more so like my pronouns are an undefined variable in shell coding
18 notes · View notes
conceptuma · 7 days ago
Text
ariane: elster i need you to delete sys32
7 notes · View notes
dimalink · 2 months ago
Text
Near the shore – shells at the shore
Tumblr media
Text quest. About shore. Imagine for yourself, that you are suddenly, appeared at the island. Sand. Around you - it is a sand. As a beach. And sand line along the shore. To the far. It is so a summer island. To the depth -it is forest. Dark, green. And ocean is from another side. With blue water. And blue sky. Weather is cloudless. And it is a hot day.
Tumblr media
Now, you are walking along the shore. And since this moment  you start your adventure. This is a text quest. And you need to write commands here. Game is linear. And along the shore all the places - there are shells. You need to collect them. If you walk game to the end. So you will see which shells – you collect. There are 8 of them total. And game is about 32  game scenes. But some scenes have several screens.
youtube
Maybe, most big question for quests. And with text quests too. This is logic. How a lot actions have a logic. What do you need to do – to go next? And how good it is easy to understand from the description. Mainly, with this game, you need to go to the different directions. North, south, west, east. And with the text it is written about this – to the north you see this. To the south you see this. And this means, you  go to one of these directions.
Tumblr media
If there is item, which you need to take for walkthrough. So it is written – before your eyes there is something laying. With the usage of items, maybe, it is most this moment. Well, I cannot, as a developer, write it this way. Here you need to use crystal. For example. Player need by himself to get this idea, about this place to do something. This is most narrow moment in logic.
Tumblr media
Do not forget to collect shells in game. It is so interesting moment. They are different here. Big. Green. Red. It will be here pair of dialogs. For example, a conversation with jean.  Which can help you. If you have shells. This is a water symbol. This is so mysterious element. Something it is connected with the water. Water - second element. But what the way – nobody gives explanation. And I do not explain it too. Open moment in game. You can use fantasy, as I can say.
Tumblr media
Element with fantasy. Little of mystics. So fairytale and strange thing happens with you. You are at the island. And walk by sand. So, look, - someone made a castle out of sand! Sandy castle. Not big. Someone was playing here. But nobody is here now!
With this view.  Game is also like some strange and interesting quests. Like Riven and Myst. So there, you are inside the book. And this is a video quests. Strange locations. Everything is so unusual. Mechanisms. Island. Amazing places. Here is also same thing, but with the text form. And you are walking by sand.
Tumblr media
Quests -are interesting genre. Text quests – I want to do them all the time. I remember, I dream about a house with ghosts. Something about vampires, but I do not know what certain. About mystics. About fantasy. And standalone block – science fiction. It can be some  imitation of Star trek next Generations. Or maybe, something like my own. Something amazing about space. Some event. And all around this.
Tumblr media
And here it is blue background as Norton Commander. It is start idea. Game with blue background. With retro view. At the low – it is a line. Once again. Like Norton Commander – commands. Which are available at the scene. And a story. About ocean. But, no, it is about yellow sand and shore. But references to the water are all the time here. Sand, water, sky. Some kind travel to the picture. You find out someway yourself there. And now you are there. And it is everything some unique way in this place to go. And little strange. But it consists from familiar things.
Tumblr media
Shells – water symbol. Magic creatures. Phoenix and jean. Wall with sand. Underwater cave with crystals. Forest. With parrots. And mainly - sand. And to walk along the sand. This is most big part here. Center part of the storyline. Sand. And you are walking by it. Shore. Sometimes, you are walking by water. Like, something, - it is valuable. But it is not have a tale why it is valuable, what is the things are here.
Collect shells at the shore. It is second element. Symbol of water. Here it is valuable. Like, it is some dimension. Shells and shore. Near the shore. What a nice day it is here. Sky, blue sky, nice ocean. And lots of sand.
Tumblr media
Basic Pascal version 1.18 "Duckling" – most newest version. In this version there are 4 new games! Puddles at Countryside, Duckling Pseudo 3D, Road to Countryside, Duckling Goes 2D. And even more retro games! It is a pack of retro games with modern versions of Basic and Pascal.
It is now in development new version Basic Pascal pack games. This game will be included in a new version.
Basic Pascal: http://www.dimalink.tv-games.ru/games/basicpascal/index_eng.html Website: http://www.dimalink.tv-games.ru/home_eng.html Itchio: https://dimalink.itch.io/basic-pascal
8 notes · View notes
arkowitz · 1 year ago
Text
Tumblr media
32 notes · View notes
batneko · 2 years ago
Text
HEY GUESS WHAT
A/B/O bowuigi, alpha Luigi and omega Bowser, based on an idea I wrote a while ago (though I did end up changing a few of the details).
I hope everyone enjoys! 🙌
96 notes · View notes
opens-up-4-nobody · 6 months ago
Text
...
18 notes · View notes
piratesexmachine420 · 8 months ago
Text
It makes me giggle a little every time I have to write a Bash script with conditionals. There's something very funny about the orthogonality here.
Tumblr media Tumblr media
Yeah, sure, why wouldn't the square bracket be a program at /usr/bin/[?
This is why it technically isn't a bash syntax error to forget the matching ]. ] is an argument to the program [, and there's no reason that [ wouldn't be able to run with that argument missing. It's entirely a measure for keeping up appearances. It's also why you need the spaces between the brackets and the test expression.
I wish every piece of shell control flow worked like that.
10 notes · View notes
mesaprotector · 7 months ago
Text
Clarity trumps efficiency.
*I would've liked to write this essay to be understandable for someone without a programming/Linux background, but it was a bit too difficult. If you skip to the paragraph beginning with "...", it gets a bit easier from then on.
If you’ve ever written your own shell scripts you may have heard of the phrase “useless use of cat*”, or less tactfully, “cat abuse”. This refers to the practice, common among new shell script enthusiasts, of writing commands like “cat file.txt | grep name”, when “grep name file.txt” would serve perfectly well. Tools like shellcheck will bug you about it—along with similar constructions like “ps ax | grep Discord | wc -l” instead of “pgrep -c Discord”.
Well, I’m here to defend cat abuse! There are two arguments I see against the cat | grep construction, one of which is valid but situational, and the other of which is completely invalid. The former is that the extra pipe just adds additional overhead into the command. Yes, it does. And it’s unlikely to matter at all if you’re using it on 20KiB text files on a system built in the past 40 years; however, in production, when writing tools that need to be able to deal with arbitrarily large text files as efficiently as possible, sure.
The latter is “well, it’s just unnecessary”. I disagree. I think the cat | grep construction—along with similar such as grep | wc, ps | grep, ps | awk, and so on—serves a very important purpose in that it makes shell scripts easier to read, easier to modify, and easier to debug.
Consider this example from above:
ps ax | grep Discord | wc -l
Read the process table; filter for "Discord"; count the number of lines. It’s very atomic. Each operation can be swapped out for something else without confusing the reader. On the other hand:
pgrep -c Discord
Now, this does the same thing—counting the number of lines in the process table with "Discord" in them. It looks like only one operation... but it’s really still three in disguise. And worse, imagine you suddenly want to add another filter; sorting not only by Discord, but by processes that include the word “title”. This is not straightforward at all! It turns out that while regex has a standard way of searching for alternatives, it really does not provide an easy method for searching for BOTH of two words. On the other hand, with the atomic version, it’s easy:
ps ax | grep Discord | grep title | wc -l
Take that, “useless” use of cat.
There’s a broader meaning, though, to my statement of “clarity trumps efficiency”. I apply it to every aspect of use of electronics, from web searches to backup routines to yes, silly little shell scripts that use cat.
I use command aliases, but to a pretty limited degree; I avoid cutesy stuff like “ll” for “ls -l” and “yeet” for “pacman -Rns”, along with possibly-dangerous substitutions like “rm” for “rm -i”; I’d never dream of aliasing “nano” or “vi” to my preferred text editor (vim). I believe strongly that my commands should be transparent, and saving me from my own muscle memory once or twice is not worth making them completely opaque.
Tab completion on the other hand is one of my favorite features in the shell. It’s the perfect combination of transparent and convenient; without having to alias any of my application names or get hit by the information overload fuzzy finding gives you, I can still launch any of them in no more than four keystrokes. (Except audacious and audacity, admittedly.)
I use a floating window manager (Openbox), and when I need to briefly use a tiling layout, I have a very boring way of doing so: focusing each window one by one and moving it into the slot I want. (While holding down the Super/Windows key, 1-C-2-V does a basic left-right split.)
... I make some use of spellcheck on assignments to be turned in, but never autocorrect, which I abhor even in messaging apps. Every change to your inputs should be deliberate; otherwise you’ll never learn what you’re doing wrong, and you’ll never need to be precise because you’ve turned over that part of your brain to the algorithm.
This leads me to an important corollary of my principle: “it’s better to have a slow algorithm that you understand, than a fast one that you don’t”.
Satya Nadella’s vision of the PC of the future is one where you tell it what to do in natural language and it interprets that using LLMs and so on into machine instructions. Instead of viewing a PC as a toolbox you go into the workshop with, and work on projects with in certain defined ways, he wants the PC to be an assistant; you give the assistant directions and pray that it gets things right. Of course you aren’t allowed into the workshop with the tools anymore; that’s the assistant’s job!
Anyone who’s used Google Search over the past ten years knows how miserable this model is; you search for a specific phrase that Google “helpfully” corrects to something it thinks you meant. There was a learning curve to the old way, but once you learned how to state queries precisely, you were done; now you need to play psychologist, sociologist, and statistician all at once.
This is a decent part of why I dislike generative AI, though far from the main reason. I don’t want an opaque algorithm making decisions for me, unless those decisions are incredibly low-level stuff like core parking that no human should be directly involved with in the first place.
To get back to my own setup, I have a whole text file documenting the system maintenance process I go through once every month; most of it could be automated, but I make every step a deliberate choice. Not to go all new-age, but for me specifically—it all ties back in to mindfulness.
I think people have only a vague concept of what mindfulness is. Until two years ago or so, I was the same way. But to who I am now, mindfulness means not doing anything on autopilot. Instead of letting yourself half-doze off on a drive home, scarcely remembering the 20 minutes from the parking lot to the garage, be conscious of every turn. Instead of immediately putting on music and blocking out the world on a train ride to the next city, force yourself to be present in the train car, and notice the way the light reflects on the plastic seat two rows in front.
And to me, clarity in code, and in UX, is a part of this mindfulness. Programs that are easy to read, easy to modify, and easy to debug encourage you to look closer—to consider every atom that goes into their statements instead of taking them for granted. Slow algorithms that you understand can help you think of improvements; fast algorithms that you don’t encourage you to give up and leave the real thinking to someone else.
So write silly little shell scripts with five pipes in a single statement, and yes, that uselessly use cat. Rather than doing anything wrong—you’re allowing yourself and others to think, to try, and to improve.
12 notes · View notes
transgenderdoctorwhomst · 22 days ago
Text
*looks at my schedule for the next three weeks* oh motherfucker
3 notes · View notes
florida3exclamationpoints · 2 months ago
Text
Hang on thought about pastry arts school again
Tumblr media
#like. why and HOW did i go through 2 full years of college and not graduate with an associates#how did they get away with stringing me along for 1.5+ years as a pastry arts major with no pastry chef#the one pastry class i did have when i met the pastry chef before he quit. it was like. taunting#bc it wasnt extremely new info to me it was baking 101. but the chef was such an amazing teacher#and i was so excited to learn from him#and i cant blame him at all for quitting like bro i wouldn't wanna work there either !!!!#they couldn't hire another pastry chef for almost 2 years bc NO ONE WANTED TO WORK FOR THE PROGRAM HEAD#i know of 2 separate stories where one chef in the area wanted to get into teaching and then heard who the boss chef was and said oh nvm 😬#and one chef who got hired and then quit before he could start bc he couldn't stand to work with that man#like i Know the food service industry is tough and intense and chefs have a reputation for being jerks#i Know that. and multiple people warned me of that before i started. and sometimes im like wow i was wrong i couldn't actually handle it#everyone told me i couldn't handle it and i said yes i could and then i couldn't#but is that really what happened???? bc there were other jerk chefs in that school!! and still no one could stand that ONE MAN!!!!!#we literally complained to the president of the college. and she said uwu hes doing his best 🥺#bc thats the thing with him. you think hes nice until you're in the kitchen with him. he IS nice until youre in the kitchen with him#i truly think he designed the course in order to weed out the weak ones#and ig it worked bc so many people dropped out !!!!! but like . sir. i started that program at 17 years old#a fully prepared 17 year old. a smart 17 year old. a talented 17 year old. an eager and excited 17 year old. but a 17 year old#we were learning how to COOK not DISARM BOMBS. i hope hes glad that my 17-19 year old self got weeded out for being weak.#congratulations man you broke me.#literally he gave me the worst panic attack of my life on the first day and was so mean to me bc of my anxiety and how shy i was#to the point that i finally admitted i needed to go to the doctor#and then when i started some meds. and also was OUT OF HIS CLASS. and in the pastry class. and was a little more comfortable#he wanted to take credit for 'bringing me out of my shell' 😐 and i wish i had said what i was thinking. and looked him in the eye#and said thanks its cause of the drugs.#not only were the internship hours insane but also the class hours and the graduating test#i get that the classes have to be longer bc we need time for things to cook but . 8/9 hours ??? dudeeee#obviously i didn't get to the graduating test class thing but the way he described it sounded like torture 😭#and ofc you cant find that info online before you enroll. and they only offered it in summer#so if you finished in fall you still had to wait through spring to technically graduate. assuming you pass the week long torture test
5 notes · View notes
go-go-devil · 1 year ago
Text
Tumblr media
20 notes · View notes